<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML><html lang="zh">
	<head>
		<title>登录</title>
		<meta name="keywords" content="全文检索 java 舆情监控 网络爬虫 网络蜘蛛 " />
		<meta http-equiv="content-type" content="text/html;charset=utf-8" />
		<meta http-equiv="x-ua-compatible" content="ie=emulateie7" />
		<meta name="baidu-site-verification" content="MoJbU3Q9MoAvorDC" />
		<meta name="author" content="netease" />
		<meta name="version" content="1.0" />
		<meta name="description" content="这是一个个人博客，用来记录工作生活中值得记录的事情、知识。" />
		<style>
			html,body{
				margin:0px;  
				height:100%;
				overflow: hidden; 
			}  
		</style>
	</head>
	<body style="background-color: rgb(56, 62, 67)">
		<div id="bgdiv" style="width:100%;height:100%;MARGIN: 0px auto;">
			<div id="formdiv" style="text-align:center;position:absolute;z-index:200;">
				<table width="100%" height="100%">
					<tr>
						<td align="center" valign="bottom">
							<form method="post" action="/blog/blogLogin.zhtml" id="loginFrm" onsubmit="return login()">
								<table border="0">
									<tr style="height: 23px;">
										<td style="width: 300px">
											<div class="inpt ztag"
												style='background-position: 0 -110px; height: 23px; line-height: 23px; padding: 13px 20px 14px; position: relative; z-index: 10; margin: 0; font-size: 14px; list-style: none outside none; visibility: visible; text-align: left; font-family: "Microsoft YaHei", "微软雅黑", tahoma, arial, simsun, "宋体"; color: #444444;background-color: rgb(56, 62, 67)'>
												<LABEL id="userlabel" style='color: #ffffff; cursor: text; font-size: 20px; left: 20px; position: absolute; top: 13px; white-space: nowrap; line-height: 23px; list-style: none outside none; visibility: visible; font-family: "Microsoft YaHei", "微软雅黑", tahoma, arial, simsun, "宋体"; color: #ffffff;'>
													用户名
												</LABEL>
												<DIV style='line-height: 23px; font-size: 14px; font-size: 14px; font-family: "Microsoft YaHei", "微软雅黑", tahoma, arial, simsun, "宋体"; color: #444444;'>
													<INPUT id="username" name="user.username" onfocus="clearFont('userlabel')" onblur="changeContent('userlabel','用户名',this)" class=txt tabIndex=1 autocomplete="off" style='border: 0; font-size: 20px; left: 15px; outline: medium none; position: absolute; top: 12px; width: 232px; font-family: "Microsoft YaHei", "微软雅黑", tahoma, arial, simsun, "宋体"; color: #ffffff; list-style: none outside none; background: url("/front/imgs/empty.png") repeat scroll 0 0 transparent; margin: 0; padding: 0;'>
													<DIV style="VISIBILITY: hidden" class="txtlist j-in"></DIV>
												</DIV>
											</div>
										</td>
										<td style="width: 300px">
											<div class="inpt ztag"
												style='background-position: 0 -110px; height: 23px; line-height: 23px; padding: 13px 20px 14px; position: relative; z-index: 10; margin: 0; font-size: 14px; list-style: none outside none; visibility: visible; text-align: left; font-family: "Microsoft YaHei", "微软雅黑", tahoma, arial, simsun, "宋体"; color: #444444;background-color: rgb(56, 62, 67)'>
												<LABEL id='pwdlabel' style='color: #43474B; cursor: text; font-size: 20px; left: 20px; position: absolute; top: 13px; white-space: nowrap; line-height: 23px; list-style: none outside none; visibility: visible; visibility: visible; font-family: "Microsoft YaHei", "微软雅黑", tahoma, arial, simsun, "宋体"; color: #ffffff;'>
													密码
												</LABEL>
												<DIV style='line-height: 23px; font-size: 14px; font-size: 14px; font-family: "Microsoft YaHei", "微软雅黑", tahoma, arial, simsun, "宋体"; color: #444444;'>
													<INPUT id="password" name="user.userpwd" type="password" onfocus="clearFont('pwdlabel')" onblur="changeContent('pwdlabel','密码',this)" class=txt tabIndex=1 autocomplete="off" style='border: 0; font-size: 20px; left: 15px; outline: medium none; position: absolute; top: 12px; width: 232px; font-family: "Microsoft YaHei", "微软雅黑", tahoma, arial, simsun, "宋体"; color: #ffffff; list-style: none outside none; background: url("/front/imgs/empty.png") repeat scroll 0 0 transparent; margin: 0; padding: 0;'>
													<DIV style="VISIBILITY: hidden" class="txtlist j-in"></DIV>
												</DIV>
											</div>
										</td>
										<td>
											<button class="btn ztag" tabindex="4" hidefocus="true" type="submit" style='border: 0 none; display: block; height: 52px; position: relative; width: 137px; z-index: 10; outline: medium none; font-family: "Microsoft YaHei","微软雅黑",tahoma,arial,simsun,"宋体";cursor: pointer;color: #444444;font-size: 12px;
											background:url(/front/imgs/login24.png);
											background-position: -282px -111px;' onmouseover="submitMouseover(this)" onmouseout="submitMouseout(this)" onmousedown="submitMousedown(this)" onmouseup="submitMouseup(this)"></button>
										</td>
									</tr>
								</table>
							</form>
						</td>	
					</tr>
				</table>
			</div>
			<div style="float:left;position: absolute;"><img id="bgimg" src="/front/loginbg/${bgImag}" style="z-index:1"></div>
		</div>
		<script type="text/javascript" src="/system/js/jquery-1.4.4.min.js"></script>
		<script>
			var height=$("#bgdiv").height();
			var width=$("#bgdiv").width();
			$("#bgimg").css("height",(height)+"px");
			$("#bgimg").css("width",(width)+"px");
			$("#formdiv").css("height",(height*0.6)+"px");
			$("#formdiv").css("width",width+"px");
			function changeContent(lableid,font,obj){
				var val=$.trim($(obj).val());
				if(val==""){
					$("#"+lableid).html(font);
				}
			}

			function clearFont(labelid){
				$("#"+labelid).html("");
			}

			function submitMouseover(obj){
				$(obj).css("background-position","-282px -173px");
			}

			function submitMouseout(obj){
				$(obj).css("background-position","-282px -111px");
			}

			function submitMousedown(obj){
				$(obj).css("background-position","-282px -235px");
			}

			function submitMouseup(obj){
				$(obj).css("background-position","-282px -173px");
			}

			function login(){
				var url="/blog/blogLogin.zhtml";
				var username=$("#username").val();
				var pwd=$("#password").val();
				if($.trim(username)==""||$.trim(pwd)==""){
					alert("请完善登录信息之后再登录。");
					return false;
				}else{
					$("#username").val($.trim($("#username").val()));
					return true;
				}
			}
			<c:if test="${message!=null}">alert('${message}');</c:if>
		</script>
	</body>
</html>
